tries actionListener for upload button