Fixed bug on Firefox

Alert box didn't show up when delete button was clicked on firefox 27