modified bottom positioning of modal dialog