Adjust position of modal