changed format of adding data items to modal pop up instead of new page