flagrate.Modal#open(): improve the behavior.