fixes #3219 Template Designer Sidebar and Body Rows drop down bug

Fixed the issue and pushed code for review, please check it.