Add/edit material input dialog skeleton.