Bugfix to open modal on pageload

This targets #46. Please close the issue
if that is a complete valid fix.