add "Add Import" and "View Source" buttons to toolbar when an element is
selected