Fixed bug on Firefox

Alert box didn't showed up when delete button was clicked