Changed edit dialog to use material looking theme