BISERVER-8856

Fixed bug with file selection after closing the metadata dialog