Adding popup functionality that retains state but doesn't yet send a message to the rest of the app