Add modules and tabs logic to dashboard view

Now deals correctly with single module and tab dashboards requested by spotlight