@Override
    public void commit(CommitEvent action) {
      showPopup(false);
      if (field.getValue() != null || calendarPane.getDate() != null)
        field.setValue(calendarPane.getDate());
    }
@Override
    public void commit(CommitEvent action)