Adding Pop-up on MissionPlanner for custom warning messages.

Hi, been working on how to add a pop-up window on mission planner that displays custom warning messages, for example a window popping up saying “Critical Battery Voltage” when Power module senses low voltage. Any leads regarding how this can be implemented would be of great help. All tips and contributions are appreciated.