will this logic work .
1. create a contact record.
2. write a plugin on pre-operation and mask the contact details .
3. on the contact entity on save button write JavaScript which will be used to get back a field value from contact entity.
4. display this field value in alertdialog.
if the above logic is correct or working then i believe handling the JavaScript and plugin is possible.
*This post is locked for comments