[#678] Moves the position of the modal into the correct position in center of screen