finish 3 modes and added a new window after finish gesture