loging modal activated, state manager reimplemented