Is there any updated support for this (I have the 2016.2.504 release). There seems to be a problem with option 2 if you panthe map before you add the layer as seen here: http://dojo.telerik.com/efIJu.
To see the problem, click run then pan the map and click the add layer button. You can click twice to make it work but I like this method and would love to figure out what's breaking with the pan.