Extract condition to helper
Use more general modal title