Remove indeterminate popup. Improve alert handling callbacks.