Keep track of active document instance
Execute pending fragment transactions when show/hide fragments