fixed buy popup behaviour:
bug when always was opened last popup on the page