Improve IE event implementation consistency in modal and expandable widgets