invitation dialog
still fail Template._flush compare to working example here https://github.com/meteor/meteor/commit/7a3dbea1d06f16dc724688a86fc0878365a6c90d