React Hook for detecting if mouse is located at browser's top bar. You can use this React Hook for prevent exiting without saving.