In order to guarantee BaseControl and Control are fully comparable in the
BaseControl level this patch introduces a refID interface, so the objects
can safely be comparable based on this interface.
1. TableView does not use 'go' for calling table events. It allows to create
any new dialog on the fly inside an event handler. That can be useful to
create simple confirmation dialogs
2. TableView demo: added an example of how to show confirmation dialogs inside
TableView event handler
3. Fix setting default button for confirmation dialog: it was not possible to
set the first button as default one