Change modal tag to attribute for directive