intelligently open editor on index.html or 200.html based on which index you use