Fixed a bug preventing the user from editing layers.  The nickname field on the add layer page now resets properly when a layer is added