formatted button and popup