Use layer's name as title of edit panel

Everything is in the title.