disable select button in select dialogue when there is no file selected