Some possibly initial implementation for selection dialog.