Switch from $dialog to $modal with new bootstrap3 directives