modified positioning of modal-dialog