changed the layout of index.jsp  & added modal on button clicks