add automatic close exit fullscreen flag