Ok I had a ton of popups with forms using colorbox and django but on successful submission they needed to be closed instead of standing around. So after some tests and trials the best way to tackle this is to create a template called closed_pop.html or something and have the view render that after a successful submission. In the template closed_pop.html should have the following code:

<script language=”javascript” type=”text/javascript”>
parent.$.fn.colorbox.close();
</script>

Done !