To add dialog for input ip