Modal need boolean return to valid close