Fixed an issue with placement and re-sizing the window

- If you changed the size of the window the modalForm could be placed off screen.

Zarnce