Add "ui show error" and "ui show progress" hooks.