change the ui for modal