Add popup creation on click