Support for staff links. Using API instead of custom search page. Improved dialog