Fix modal dialog chrome death