makes user interface for popup boxes