openForResult method added to router
one more openForResult method added - flags defaults to 0