Fix crash when adding mod to playlist

If no playlists exist and user attempts to add a module to a playlist,
the browser crashed. Don't display the dialog in this case and show
a toast instead informing that there are no playlists available.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>