Resource options form: fixed a problem where the text box containing the path to the file could be focused. Fixes #806