Close error message in force-auth view (bug 1048827)

is it ok to call .close() if it's not open?