Resolves OFBIZ-6455:Change code in htmlFormMacroLibrary.ftl, specifically the renderLookupField macro to fire a bootstrap modal. Also deal with pagination.