removed cancel from dialog