emit `resize` event when the modal resizes
change som phone and tablet styling