add classes to make popup window