Fix various Administration Panel issues

 * Fix stuck form issue after metric edition in graph management
 * Fix incorrect origin selection when editing group