Add support for dialog fragment that contains progress dialog