Minor Bug Fix

Close popup on export and print.