Added routing helper functions
Routing working, intelligent default tab on admin dialog