Fixed deprecation notice for modal()