Added return values to stop event propagation on dialog confirm/dismiss.