Deleting toolkit window before creating another one.