As it stands with the code above does not work correctly for me. If I add visible="true" to the floorplan layer I see the floorplan and the button "fbbtn" closes it when clicked but naturally by default I do not want the floorplan to show until the buttin is clicked.