removed resources used by popup