show selected class in the heading for add incoming/ougoing links dialog