this `resize` thing should live inside the ModalComponent. ModalComponent#reposition();