ajax side bar edit select working