hook the categories and layer into the html dialog box