Use a more responsive solution for centering the modal