Fixing brushes dialog