solitamente se usi un tasto interno per chiudere la finestra su ie ti viene fuori un alert...meglio che la tieni così...