if exit not enabled on frame, it is not disposed and frame is set to not
close autmatically