Added Dialog Dismiss and delay