show generic modal dialog