addBtn.setIcon(BTN_ADD_IMG);
addBtn.setAutoFit(true);
addBtn.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
if (form.validate()) {
addWindow.hide();
fav.setName(nameItem.getValueAsString());
fav.setShared(sharedItem.getValueAsBoolean());
FavouritesCommService.saveSearchFavourite(fav, new DataCallback<SearchFavourite>() {
public void execute(SearchFavourite result) {
fireAddEvent(new FavouriteEvent(null, result, FavouritesController.this));