add progress dialog to accounts button