Adding the ability to close the upload modal