return a promise instead of triggering bootbox in model
Merge pull request #2993 from techAPJ/patch-4

Return a promise instead of triggering bootbox in model