How could one create a shortcut to open / close the favorites manager?

How could one create a shortcut to open / close the favorites manager?