Restore the code for adding admin widgets.
Review Request #1519 — Created Dec. 29, 2018 and updated
The code for adding widgets in the administration UI disappeared due to a merge earlier this year. This went unnoticed by us until today. This is a simple change that restores the missing lines.