Text this: Towards Grid of Microgrids: Seamless Transition between Grid-Connected and Islanded Modes of Operation