Input dialogue exception handling when 'x' (closing) input dialogue

can be checked with

can be modelled e.g. within a message box or others

No, we also would recommend to not risk an endless running loop