Automatically set GschemDialog top-level pointers to NULL