Fix edit button form loading