same thing for the modal dialog, but it's up to you :)