License prompt when saving edits when logged in.

Some cleanup of alerts.

Change-Id: I78d0dc1aeafd1e1f025d86b564371a7deef4d597