Shorten up some code in element_dropdown
Add missing make_writable/make_readonly actions