Adding different window behaviour for INSERT and DELETE/UPDATE/CANCEL actions.