Support for activity in popup window