var showAlertDialog$name = function() {
	var dialog = document.getElementById('my-alert-dialog-$name');

	if (dialog) {
		dialog.show();
	} else {
		ons.createElement('alert-dialog-$name.html', { append: true })
			.then(function(dialog) {
			dialog.show();
		});
	}
};

var hideAlertDialog$name = function() {
	document
		.getElementById('my-alert-dialog-$name')
		.hide();
};
