vertical aligning the modal using translate instead of margin