refactoring alerts into dedicated method and also fixing infinite progress indicator bug and permanently disabled 'create' button