The close button work when you load the UI from a file however. But not with the keyboard sample on git.