Which code is Execute when I click OK & New on a card page

I have written a code on OnQueryClosePage trigger it works. But the problem is when I click OK & New button that time OnQueryClosePage  trigger not executed.

Please suggest your opinion which trigger gets execute when users clicks OK & New button instead of New button.