editor now has a correct initial read-only state
editor controls now toggle enabled state depending on whether snippet is selected