refactor(ui): unify popups behind a Modal component and theme-driven surfaces (#157)