worked on ajax and bootstrap modal