Is there a button / shortcut to open and close the favorites window keeping its state?

Is there a button / shortcut to open and close the favorites window keeping its state (size, order of items, position, etc.?