Modal dialog working.