Fixing cancel button in upload modal