Fix positioning of modal box