Dialogs: Clean up filename input, select range