Make KeyboardContext only emit a callback to another object responsible for showing the dialog