added IE7 compatibilty on delete button