CORE-4793: Reference selectors disabled in edit mode
Also corrected issue with app template property panel selecting and
flushing of deployed components