fix #46

Make settings window modal for proper text input.
Revert previous invalid fix.