fixed modal factory, updated version to 0.0.2