% unless @collection_options.empty? && @profile_collection_options.empty? %> <% modal_id = "#{document.noid}-modal" %>