hide file selection when file already exists for has_one association
display error message when upload failed