got modal to work
final changes for foundation integration