refs #385 - added hadling keyboard in popup