[add][dialog] added implementation for handling progress dialogs