Alert message was implemented using jquery alert. Logic for adding and removing items. Building  grid view was fixed