This code will open "Page.aspx" and wait until it's closed.
1. If it's canceled (DayPilot.Modal.close(); call without arguments inside Page.aspx) the resizing is canceled.
2. If it's confirmed (e.g. DayPilot.Modal.close({"action": "OK"}); call inside Page.aspx) the server-side EventResize event is called.