added progress bar, changed pressed dialog selector