Fixed issue where clicking anywhere in the open dialog could open filedialogs.