Connect the dock toolbar items to the corresponding menu actions.