Fix - The method name should be openDialog instead of showDialog.