Dialog cancel implemented.