IMPLEMENT MODAL KEYS.