added code for insert and close buttons in the add related products popup