public String persist() {
String message = "Saved!";
bicycleService.save(selectedBike);
RequestContext context = RequestContext.getCurrentInstance();
context.execute("bikeEditor.hide()");
FacesMessage facesMessage = new FacesMessage(message);
FacesContext.getCurrentInstance().addMessage(null, facesMessage);
reset();