added a slider (scroll bar) in dialog box