add callback for console hide. disable controls when open.