New: disable rightclick popup menu when there is no document open

Signed-off-by: Miroslav Safr <Miroslav.Safr@gmail.com>