adds pop-up message when uploading file