updated to minimal state (popup_example)