Escape dropdown

Fixes #3241