The vertical position of the modal dialog can be set using the top property. By default, it is set to 20 (pixels). You can increase it as needed.
The background elements appear above the modal dialog because the value of zIndex property is too low. By default, it is set to 99999
. The z-index of the Calendar time range selection is set to 10
so you have probably set something lower than this.