stop application quit after last window close