Added Template popup dialog and editing capability; tweaked template listing CSS