changed cancel button to close when file is done uploaded.  Fixed the set permissions to make sure a file must be selected