add loader and disable submit button