Moved dashboard instantiation before setup dsl execution

The setup dsl was being interpreted before the dashboard object was
actually instantiated. Swapped the code around to prevent this.