Fixed closing a popup when opening multiple at the same time

- Added ID to popup events so that only the given popup events are removed when closed