fix issue with saving input selection
Merge pull request #919 from pindexis/develop

assert that focused element is a Text input before saving selection