Removed dialog warning and added function to try saving the settings immediately when event beforeunload is triggered.
Removed dialog warning and added function to try saving the settings immediately when event beforeunload is triggered.

Darkle/YouTubeCenter,arantius/YouTubeCenter,arantius/YouTubeCenter,yetixxx83/YouTubeCenter,mattman00000/YouTubeCenter,Inyokus/YouTubeCenterTest,yetixxx83/YouTubeCenter,Nowhere007/YouTubeCenter,Darkle/YouTubeCenter,Darkle/YouTubeCenter,Nowhere007/YouTubeCenter,Inyokus/YouTubeCenterTest,yetixxx83/YouTubeCenter,Inyokus/YouTubeCenterTest,Darkle/YouTubeCenter,Inyokus/YouTubeCenterTest,mattman00000/YouTubeCenter,Nowhere007/YouTubeCenter,arantius/YouTubeCenter,arantius/YouTubeCenter,yetixxx83/YouTubeCenter,mattman00000/YouTubeCenter,mattman00000/YouTubeCenter,Nowhere007/YouTubeCenter