Alchemy.closeCurrentDialog(function() { window.location.href = '<%= Alchemy.login_path %>'; });