disable keyboard interaction during dismiss