public UsersDialog(ListStore<User> userStore, UserHandler userHandler) {
this.userStore = userStore;
this.userHandler = userHandler;
UserProperties userProperties = GWT.create(UserProperties.class);
List<ColumnConfig<User, ?>> columnConfigList = new LinkedList<ColumnConfig<User, ?>>();
columnConfigList.add(new ColumnConfig<User, String>(userProperties.login(), 0, "Name"));
columnConfigList.add(new ColumnConfig<User, Boolean>(userProperties.admin(), 0, "Administrator"));
columnModel = new ColumnModel<User>(columnConfigList);
uiBinder.createAndBindUi(this);
grid.getSelectionModel().addSelectionChangedHandler(this);