Add test to check that toolbar width is set correctly for popup toolbars.
Set popup toolbar width to the sum of the widths of all of the toolbar action buttons.
Simplify delete action for popup toolbar.