Update tool dialog on toolbar update and toolbar on tool dialog update