[FIX] selection of current document's state in process view