To add error dialog and check phone or mobile content.