Fixed admin mode logic
Insert widgets in ascending order