Adding modal to create layers or publish layers prior to trying o create a map