RR: set last modal dialog