Adapt popup for chatbox and questionary