modal operator snippets