Added ctrl+g support

closes #1411