theme open should use the theme_id being worked on

This has been bothering me for a while.

Please review @maartenvg @releod