Implemented new playlist saving logic

Playlist editor will now act like most programs and prompt when saving
is needed. Fixed closing the new Playlist Editor.