format: fix the appearance of UI dialog progress text when formatting