Fix modal popup position when unmaximizing
Merge pull request #2351 from ollb/bugfix/modal_position_when_unmaximizing

Fix modal popup position when unmaximizing