[Console] change OK/Exit action to close console window