Started implementing modal dialog