Fixed preventDefault behavior on file options button click