Add modal to email backup

Remove native prompt and add modal at email backup section. Use Angular's email validation.

Closes #538