Add basic ui event blocking.