-Add a block UI logic.