Changed method to attach listener to editable and updated ctrl handling because it's already natively handled by FF.