update(tests): tests $mdDialog onComplete callback option

Refs #518