Delay close handler applied by close-dialog class