got ajax post working
got rid of popup iteration from index view page