You could grab the Brackets, Window and Help menus here and attach the delegate.