Enabled router.navigate to handle absolute urls.
Added rest param to 'plugins/dialog'.close()