Added `modal` method to package object